package com.guigu.tankai.service.impl;


import com.guigu.tankai.mapper.MemberMapper;
import com.guigu.tankai.pojo.Member;
import com.guigu.tankai.service.MemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MemberServiceImpl implements MemberService {

    @Autowired
    MemberMapper mm;

    @Override
    public Member memberInfo(String name) {
        return mm.memberInfo(name);
    }

    @Override
    public List<Member> tkmember() {
        return mm.tkmember();
    }

    @Override
    public List<Member> tklistme() {
        return mm.tklistme();
    }

    @Override
    public List<Member> tanhytjcha(String startDate, String endDate) {
        List<Member> tanhytjcha = mm.tanhytjcha(startDate, endDate);
        return tanhytjcha;
    }

}
